import { FetchService } from '@/utils'
/**
 * 用于流程干预,流程异常日志查询,流程信息查询
 * @class
 */
export default class {
	public http: FetchService
	public constructor(http: FetchService) {
		this.http = http
	}

	/**
	 * 修改密码
	 * @method
	 * @name #ChangePwdEmployeeSysPrivateV1ApiPOST
	 * @param {} employeePwdParam - employeePwdParam
	 */
	public async ChangePwdEmployeeSysPrivateV1ApiPOST(params: {
		payload?: typing.manage.EmployeePwdParam
	}): Promise<typing.manage.PlainResult$boolean$> {
		let path = ''
		path = '/api/v1/private/sys/employee/changePwd'
		let body: any
		const queryParameters: any = {}

		if (params.payload !== undefined) {
			body = params.payload
		}

		const result: typing.manage.PlainResult$boolean$ = await this.http.request({
			method: 'POST',
			url: path,
			params: queryParameters,
			payload: body,
		})
		return result
	}
}
